package cc.bluemc.modules.adminUser.entity;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import java.io.Serializable;
@Table(name="t_adminuser_extend")
public class AdminuserExtendEntity implements Serializable{
    /**
     * 用户ＩＤ
     **/
    private Integer userid;

    /**
     * 用户头像
     **/
    private String headImg;
    
    private int x, y, h, w;

    public AdminuserExtendEntity() {
    }

    public AdminuserExtendEntity(Integer userid, String headImg) {
        this.userid = userid;
        this.headImg = headImg;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }
	 @Id
    public Integer getUserid() {
        return userid;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }
    public String getHeadImg() {
        return headImg;
    }
    @Transient
	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}
	@Transient
	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}
	@Transient
	public int getH() {
		return h;
	}

	public void setH(int h) {
		this.h = h;
	}

	@Transient
	public int getW() {
		return w;
	}

	public void setW(int w) {
		this.w = w;
	}

}
